﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Idte.Common.Region
{
    public class Language
    {
        [Key, DatabaseGenerated(DatabaseGeneratedOption.Identity)]
        public Guid LanguageId { get; set; }
        [MaxLength(30)]
        public string NativeName { get; set; }
        [MaxLength(30)]
        public string EnglishName { get; set; }
        public ICollection<CountryLanguage> Countries { get; set; }
    }
}
